write in code
英
美
[网络] 写代码
双语例句
- When you write your test cases first, you get in the habit of writing only enough code to make the test case pass.
在编写测试用例时,您养成了很好的测试习惯,即只编写运行测试用例所需的最少代码。 - It would, however, be very tedious and difficult to write all information in binary code.
把所有的信息都翻译成二进制码是十分枯燥和困难的。 - As with natural language, it is possible to write "sentences" in computer code that, although different in composition, convey the same meaning.
因为用自然语言,它可以编写计算机代码里的“句子”,虽然组分不同,但转达了相同的含义。 - We write our code in such a way that some other piece of code is responsible for selecting which implementation of the Math interface our code will use
我们以特定的方式编写另一段代码,使其负责选择代码将要使用的Math接口实现 - I may want to write my code in UTF-8, but some Japanese programmer may want to write his code in Shift JIS.
我也许希望我的代码是UTF-8的,但是一些日本程序员希望它们的代码是ShiftJIS。 - Code analyzers, refactoring tools and automated refactorings, formatters and more, are difficult, if not impossible, to write in Ruby, because there is no way to parse Ruby source with Ruby code.
用Ruby写代码分析、重构工具和自动重构、格式程序等等甚至更多的工具并非不可能,但是很困难,因为还没有用Ruby代码分析Ruby源码的先例。 - This is the tool that lets you write step definitions in C# and forget all about ruby code.
这是一款用C编写的步骤定义工具,可以免除Ruby代码的麻烦。 - You want to write the specs so that everybody does in fact know what this piece of code is doing, and you're writing it each time around.
但是你得养成良好的习惯和编程风格,你得撰写规范说明从而保证,每个人都知道这段代码是干什么的。 - Geddy tries to make it easy for developers to write complex web apps in JavaScript, sharing code between client and server.
Geddy想让开发人员很容易地用JavaScript编写复杂的Web应用、在客户端和服务器之间共享代码。 - So really, the rule of thumb if you think back to Scratch is that any time you write a statement something that does something in one line of code you generally need the semicolon there.
实际上,根据经验,你们回忆一下在Scratch中,任何时候你们写一条语句-,处理一些操作的一行代码-,你们通常需要在那里加个分号。
